#include<bits/stdc++.h>
using namespace std;
#define int long long
signed main() {
//	system("start https://www.lanqiao.cn/problems/7940/learning/");

	string s;
	cin >> s;

	string t = "aeiou";

	for (int i = s.size() - 1; i >= 0; i--) {
		if (t.find(s[i]) != string::npos) {
			cout << s[i];
			break;
		}
	}

	return 0;
}
